home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / batch / BGUIMenu.lha / Examples / Example2.def < prev    next >
Text File  |  1995-09-05  |  758b  |  40 lines

  1. QUITMENU
  2. REM
  3. REM Use three Columns
  4. REM
  5. COLS 3
  6. WINDOWTITLE BGUIMenu Example
  7. TITLE Example #2
  8. TITLE Select one of the items below
  9. TITLE or select "End" to end the demo.
  10. REM
  11. REM Menu definition with Keys
  12. REM
  13. MENU Item 1
  14. KEY I
  15. EXEC echo "You selected Item 1"
  16. MENU My next Item
  17. KEY M
  18. EXEC echo "You selected My next Item"
  19. MENU Yet another one
  20. KEY Y
  21. EXEC echo "You selected yet another one"
  22. MENU Let's do some action
  23. KEY A
  24. EXEC echo "Did you really expect something ? :-)"
  25. MENU ZZZ
  26. KEY Z
  27. EXEC echo "Sleeping before the computer ? Better go to bed!"
  28. MENU Item 2
  29. KEY 2
  30. EXEC echo "You selected Item 2"
  31. MENU Open a new shell
  32. KEY N
  33. EXEC newshell
  34. MENU Best demo of all
  35. KEY D
  36. EXEC echo "Wow that was a great demo."
  37. MENU The end
  38. KEY E
  39. EXEC echo "Is this really the end ?"
  40.